import request from '@/utils/request'

//总后台创建账号
export function saveAdmin(params?: any) {
    return request.post({ url: '/tv.tv/saveAdmin', params })
}
// 总后台账号列表
export function adminList(params?: any) {
    return request.get({ url: '/tv.tv/adminList', params })
}
// 总后台账号详情
export function adminInfo(params?: any) {
    return request.post({ url: '/tv.tv/adminInfo', params })
}
// 总后台创建账号账号禁用
export function setDisable(params?: any) {
    return request.post({ url: '/tv.tv/setDisable', params })
}